package com.liqi.service;

import com.liqi.mapper.StockingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StockingServiceImpl implements  StockingService{

    @Autowired
    private StockingMapper stockingMapper;

    @Override
    public int decreNum(Integer num, Integer id) {
        return stockingMapper.decreNum(num,id);
    }
}
